<?php

include('./includes/mongo.php');


// drop all table
$_db->weeks->drop();


// create new collection (table)
$weeks = $_db->createCollection("weeks");


$week1 = array(
	"week"=> "1",
	"title"=>"Fetal development in pregnancy week 1",
	"body"=>"It's been a momentous past couple of days - even if you don't know it yet.
At some point roughly 1.5-3.5 million sperm took aim at your fallopian tubes and one superior little seed hit the target spot on. The now-fertilized egg is currently in one of your fallopian tubes merging with the sperm to become a zygote, where cell division is occuring at an incredibly rapid rate.
Your little zygote will spend the next 7-10 days dividing and growing as they travel down to your uterus, where they'll nestle into your cozy blood-rich uterine wall.
The implantation process may result in a little spotting for some women, which is caused by the sloughing off of uterine wall at the implantation site. This is perfectly natural and not a cause for concern. When your little zygote is finally implanted, it is officially considered a measuring about 0.1-0.2 mm.
Long story short: this week is the beginning of your child's life.",
	"bookname"=>"Taking Charge of Your Fertility: The Definitive Guide to Natural Birth Control, Pregnancy Achievement, and Reproductive Health",
	"booklink"=>"abc",
	"timestamp"=> time()
);

$weeks->insert($week1);
?>